<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>在线拍卖系统-登录界面</title>
    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="../resources/favicon.ico" th:href="@{/static/favicon.ico}"/>
</head>

<body>
<div class="wrap">
    <!-- main begin-->
    <div class="main">
        <div class="sidebar">
            <p><img src="images/img1.jpg" width="443" height="314" alt="" /></p>
        </div>
        <div class="sidebarg">
            <form th:action="@{/doLogin}" method="post">
                <div class="login">
                    <dl>
                        <dt class="blues">用户登陆</dt>
                        <dd><label for="name">用户名：</label><input type="text" class="inputh" name="username" id="name"></dd>
                        <dd><label for="password">密 码：</label><input type="text" class="inputh"  name="userPassword" id="password"/></dd>
                        <dd>
                            <label class="lf" for="valideCode">验证码：</label>
                            <input type="text" class="inputh inputs lf" name="valideCode" id="valideCode"/>
                            <span class="wordp lf">
           <!-- <img src="images/img2.jpg" width="96" height="27" alt="" /> -->

          <img th:src="@{/defaultKaptcha}" onclick="this.src='defaultKaptcha'" width="96" height="27" alt="" />
           </span>
                            <span class="blues lf"><a href="" title="">看不清</a></span>
                        </dd>
                        <dd>
                            <input name=""  type="checkbox" id="rem_u"  />
                            <span for="rem_u">下次自动登录</span>
                            <span style="color: red;font-size: 18px;font-weight: bold;" th:text="${errorMsg}"></span>
                        </dd>
                        <dd class="buttom">
                            <input name="" type="submit" value="登 录" class="spbg buttombg f14 lf" />
                            <input name="" type="button" value="注 册" onclick="location='register.html'" class="spbg buttombg f14 lf" />
                            <span class="blues  lf"><a href="" title="">忘记密码?</a></span>
                            <div class="cl"></div>
                        </dd>

                    </dl>
                </div>
            </form>
        </div>
        <div class="cl"></div>
    </div>
    <!-- main end-->

    <!-- footer begin-->
</div>
<!--footer end-->

</div>
</body>
</html>